#include <stdio.h>

int max(int, int);
int min(int*, int*);

int main(){
    printf("max %d \n", max(1,2));

    int i = 10;
    int j = 11;

    printf("min %d \n", min(&i, &j));
}

int max(int a, int b){
    if (a > b)
    {
        return a;
    }
    return b;
}

int min(int *a, int *b){
    if (*a > *b)
    {       
        return *b;
    }
    return *a;
}